﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_DEALER.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_DEALER数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_DEALER", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_DEALER", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_DEALER_Entity
	{
		#region 变量定义		
		///<summary>
		///经销商编号
		///</summary>
		private long _dEALERID;
		///<summary>
		///经销商名称
		///</summary>
		private string _dEALERNAME = String.Empty;
		///<summary>
		///经销商代码
		///</summary>
		private string _dEALERCODE = String.Empty;
		///<summary>
		///市场部编号
		///</summary>
		private long _mARKETDEPARTMENTID = 0;
		///<summary>
		///市场部代码
		///</summary>
		private string _mARKETDEPARTMENTCODE = String.Empty;
		///<summary>
		///市场部名称
		///</summary>
		private string _mARKETDEPARTMENTNAME = String.Empty;
		///<summary>
		///部署名称
		///</summary>
		private string _dEPLOYNAME = String.Empty;
		///<summary>
		///类型
		///</summary>
		private long? _cATEGORY = 0;
		///<summary>
		///企业类型
		///</summary>
		private long? _cORPTYPE = 0;
		///<summary>
		///是否中心企业
		///</summary>
		private long? _cENTCORP = 0;
		///<summary>
		///模板名称
		///</summary>
		private string _tEMPLATENAME = String.Empty;
		///<summary>
		///区域名称
		///</summary>
		private string _dISTRICT = String.Empty;
		///<summary>
		///省份名称
		///</summary>
		private string _pROVINCE = String.Empty;
		///<summary>
		///城市名称
		///</summary>
		private string _cITY = String.Empty;
		///<summary>
		///县区名称
		///</summary>
		private string _cOUNTY = String.Empty;
		///<summary>
		///银行名称
		///</summary>
		private string _bANKNAME = String.Empty;
		///<summary>
		///银行帐号
		///</summary>
		private string _bANKACCOUNT = String.Empty;
		///<summary>
		///税号
		///</summary>
		private string _tAXCODE = String.Empty;
		///<summary>
		///电话
		///</summary>
		private string _pHONE = String.Empty;
		///<summary>
		///地址
		///</summary>
		private string _aDDRESS = String.Empty;
		///<summary>
		///邮编
		///</summary>
		private string _pOSTCODE = String.Empty;
		///<summary>
		///E-mail
		///</summary>
		private string _eMAIL = String.Empty;
		///<summary>
		///简称
		///</summary>
		private string _aBBR = String.Empty;
		///<summary>
		///拼音代码
		///</summary>
		private string _pYCODE = String.Empty;
		///<summary>
		///总经理
		///</summary>
		private string _pRESIDENT = String.Empty;
		///<summary>
		///经理电话
		///</summary>
		private string _pRESIDENTPHONE = String.Empty;
		///<summary>
		///联系人
		///</summary>
		private string _lINKMAN = String.Empty;
		///<summary>
		///联系电话
		///</summary>
		private string _lINKPHONE = String.Empty;
		///<summary>
		///值班电话
		///</summary>
		private string _wORKPHONE = String.Empty;
		///<summary>
		///材料费开票系数
		///</summary>
		private decimal? _mTLIVCCFT = 0;
		///<summary>
		///材料费开票类型
		///</summary>
		private long? _mTLIVCKIND = 0;
		///<summary>
		///税率
		///</summary>
		private decimal? _tAXRATE = 0;
		///<summary>
		///工时费开票类型
		///</summary>
		private long? _wRKIVCKIND = 0;
		///<summary>
		///工时费开票系数
		///</summary>
		private decimal? _wRKIVCCFT = 0;
		///<summary>
		///最大开票金额
		///</summary>
		private decimal? _iNVOICEMAXFEE = 0;
		///<summary>
		///工时等级
		///</summary>
		private decimal? _wRKLEVEL = 0;
		///<summary>
		///管理费率等级
		///</summary>
		private decimal? _mNGLEVEL = 0;
		///<summary>
		///旧件管理费率
		///</summary>
		private decimal? _oLDMANAGERATE = 0;
		///<summary>
		///外出路途补助等级
		///</summary>
		private decimal? _wCFLEVEL = 0;
		///<summary>
		///开业时间
		///</summary>
		private DateTime? _sETUPTIME;
		///<summary>
		///注销时间
		///</summary>
		private DateTime? _rEMOVALTIME;
		///<summary>
		///传真
		///</summary>
		private string _fAX = String.Empty;
		///<summary>
		///状态
		///</summary>
		private long? _sTATUS = 0;
		///<summary>
		///创建时间
		///</summary>
		private DateTime? _cREATETIME;
		///<summary>
		///创建人编号
		///</summary>
		private long? _cREATEPEOPLEID = 0;
		///<summary>
		///创建人
		///</summary>
		private string _cREATEPEOPLE = String.Empty;
		///<summary>
		///最后修改人编号
		///</summary>
		private long? _lASTMODIFYPEOPLEID = 0;
		///<summary>
		///最后修改人
		///</summary>
		private string _lASTMODIFYPEOPLE = String.Empty;
		///<summary>
		///最后修改时间
		///</summary>
		private DateTime? _lASTMODIFYTIME;
		///<summary>
		///备注
		///</summary>
		private string _rEMARK = String.Empty;
		///<summary>
		///事业部编号
		///</summary>
		private long? _bUSINESSDIVISIONID = 0;
		///<summary>
		///事业部名称
		///</summary>
		private string _bUSINESSDIVISIONNAME = String.Empty;
		///<summary>
		///事业部代码
		///</summary>
		private string _bUSINESSDIVISIONCODE = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_DEALER_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///经销商编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_DEALER")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long DEALERID
		{
			get {return _dEALERID;}
			set { _dEALERID = value; }
			
		}

		///<summary>
		///经销商名称
		///</summary>		
		public string DEALERNAME
		{
			get {return _dEALERNAME;}
			set {
					_dEALERNAME = value;
				}
			
		}

		///<summary>
		///经销商代码
		///</summary>		
		public string DEALERCODE
		{
			get {return _dEALERCODE;}
			set {
					_dEALERCODE = value;
				}
			
		}

		///<summary>
		///市场部编号
		///</summary>		
		public long MARKETDEPARTMENTID
		{
			get {return _mARKETDEPARTMENTID;}
			set { _mARKETDEPARTMENTID = value; }
			
		}

		///<summary>
		///市场部代码
		///</summary>		
		public string MARKETDEPARTMENTCODE
		{
			get {return _mARKETDEPARTMENTCODE;}
			set {
					_mARKETDEPARTMENTCODE = value;
				}
			
		}

		///<summary>
		///市场部名称
		///</summary>		
		public string MARKETDEPARTMENTNAME
		{
			get {return _mARKETDEPARTMENTNAME;}
			set {
					_mARKETDEPARTMENTNAME = value;
				}
			
		}

		///<summary>
		///部署名称
		///</summary>		
		public string DEPLOYNAME
		{
			get {return _dEPLOYNAME;}
			set {
					_dEPLOYNAME = value;
				}
			
		}

		///<summary>
		///类型
		///</summary>		
		public long? CATEGORY
		{
			get {return _cATEGORY;}
			set { _cATEGORY = value; }
			
		}

		///<summary>
		///企业类型
		///</summary>		
		public long? CORPTYPE
		{
			get {return _cORPTYPE;}
			set { _cORPTYPE = value; }
			
		}

		///<summary>
		///是否中心企业
		///</summary>		
		public long? CENTCORP
		{
			get {return _cENTCORP;}
			set { _cENTCORP = value; }
			
		}

		///<summary>
		///模板名称
		///</summary>		
		public string TEMPLATENAME
		{
			get {return _tEMPLATENAME;}
			set {
					_tEMPLATENAME = value;
				}
			
		}

		///<summary>
		///区域名称
		///</summary>		
		public string DISTRICT
		{
			get {return _dISTRICT;}
			set {
					_dISTRICT = value;
				}
			
		}

		///<summary>
		///省份名称
		///</summary>		
		public string PROVINCE
		{
			get {return _pROVINCE;}
			set {
					_pROVINCE = value;
				}
			
		}

		///<summary>
		///城市名称
		///</summary>		
		public string CITY
		{
			get {return _cITY;}
			set {
					_cITY = value;
				}
			
		}

		///<summary>
		///县区名称
		///</summary>		
		public string COUNTY
		{
			get {return _cOUNTY;}
			set {
					_cOUNTY = value;
				}
			
		}

		///<summary>
		///银行名称
		///</summary>		
		public string BANKNAME
		{
			get {return _bANKNAME;}
			set {
					_bANKNAME = value;
				}
			
		}

		///<summary>
		///银行帐号
		///</summary>		
		public string BANKACCOUNT
		{
			get {return _bANKACCOUNT;}
			set {
					_bANKACCOUNT = value;
				}
			
		}

		///<summary>
		///税号
		///</summary>		
		public string TAXCODE
		{
			get {return _tAXCODE;}
			set {
					_tAXCODE = value;
				}
			
		}

		///<summary>
		///电话
		///</summary>		
		public string PHONE
		{
			get {return _pHONE;}
			set {
					_pHONE = value;
				}
			
		}

		///<summary>
		///地址
		///</summary>		
		public string ADDRESS
		{
			get {return _aDDRESS;}
			set {
					_aDDRESS = value;
				}
			
		}

		///<summary>
		///邮编
		///</summary>		
		public string POSTCODE
		{
			get {return _pOSTCODE;}
			set {
					_pOSTCODE = value;
				}
			
		}

		///<summary>
		///E-mail
		///</summary>		
		public string EMAIL
		{
			get {return _eMAIL;}
			set {
					_eMAIL = value;
				}
			
		}

		///<summary>
		///简称
		///</summary>		
		public string ABBR
		{
			get {return _aBBR;}
			set {
					_aBBR = value;
				}
			
		}

		///<summary>
		///拼音代码
		///</summary>		
		public string PYCODE
		{
			get {return _pYCODE;}
			set {
					_pYCODE = value;
				}
			
		}

		///<summary>
		///总经理
		///</summary>		
		public string PRESIDENT
		{
			get {return _pRESIDENT;}
			set {
					_pRESIDENT = value;
				}
			
		}

		///<summary>
		///经理电话
		///</summary>		
		public string PRESIDENTPHONE
		{
			get {return _pRESIDENTPHONE;}
			set {
					_pRESIDENTPHONE = value;
				}
			
		}

		///<summary>
		///联系人
		///</summary>		
		public string LINKMAN
		{
			get {return _lINKMAN;}
			set {
					_lINKMAN = value;
				}
			
		}

		///<summary>
		///联系电话
		///</summary>		
		public string LINKPHONE
		{
			get {return _lINKPHONE;}
			set {
					_lINKPHONE = value;
				}
			
		}

		///<summary>
		///值班电话
		///</summary>		
		public string WORKPHONE
		{
			get {return _wORKPHONE;}
			set {
					_wORKPHONE = value;
				}
			
		}

		///<summary>
		///材料费开票系数
		///</summary>		
		public decimal? MTLIVCCFT
		{
			get {return _mTLIVCCFT;}
			set { _mTLIVCCFT = value; }
			
		}

		///<summary>
		///材料费开票类型
		///</summary>		
		public long? MTLIVCKIND
		{
			get {return _mTLIVCKIND;}
			set { _mTLIVCKIND = value; }
			
		}

		///<summary>
		///税率
		///</summary>		
		public decimal? TAXRATE
		{
			get {return _tAXRATE;}
			set { _tAXRATE = value; }
			
		}

		///<summary>
		///工时费开票类型
		///</summary>		
		public long? WRKIVCKIND
		{
			get {return _wRKIVCKIND;}
			set { _wRKIVCKIND = value; }
			
		}

		///<summary>
		///工时费开票系数
		///</summary>		
		public decimal? WRKIVCCFT
		{
			get {return _wRKIVCCFT;}
			set { _wRKIVCCFT = value; }
			
		}

		///<summary>
		///最大开票金额
		///</summary>		
		public decimal? INVOICEMAXFEE
		{
			get {return _iNVOICEMAXFEE;}
			set { _iNVOICEMAXFEE = value; }
			
		}

		///<summary>
		///工时等级
		///</summary>		
		public decimal? WRKLEVEL
		{
			get {return _wRKLEVEL;}
			set { _wRKLEVEL = value; }
			
		}

		///<summary>
		///管理费率等级
		///</summary>		
		public decimal? MNGLEVEL
		{
			get {return _mNGLEVEL;}
			set { _mNGLEVEL = value; }
			
		}

		///<summary>
		///旧件管理费率
		///</summary>		
		public decimal? OLDMANAGERATE
		{
			get {return _oLDMANAGERATE;}
			set { _oLDMANAGERATE = value; }
			
		}

		///<summary>
		///外出路途补助等级
		///</summary>		
		public decimal? WCFLEVEL
		{
			get {return _wCFLEVEL;}
			set { _wCFLEVEL = value; }
			
		}

		///<summary>
		///开业时间
		///</summary>		
		public DateTime? SETUPTIME
		{
			get {return _sETUPTIME;}
			set { _sETUPTIME = value; }
			
		}

		///<summary>
		///注销时间
		///</summary>		
		public DateTime? REMOVALTIME
		{
			get {return _rEMOVALTIME;}
			set { _rEMOVALTIME = value; }
			
		}

		///<summary>
		///传真
		///</summary>		
		public string FAX
		{
			get {return _fAX;}
			set {
					_fAX = value;
				}
			
		}

		///<summary>
		///状态
		///</summary>		
		public long? STATUS
		{
			get {return _sTATUS;}
			set { _sTATUS = value; }
			
		}

		///<summary>
		///创建时间
		///</summary>		
		public DateTime? CREATETIME
		{
			get {return _cREATETIME;}
			set { _cREATETIME = value; }
			
		}

		///<summary>
		///创建人编号
		///</summary>		
		public long? CREATEPEOPLEID
		{
			get {return _cREATEPEOPLEID;}
			set { _cREATEPEOPLEID = value; }
			
		}

		///<summary>
		///创建人
		///</summary>		
		public string CREATEPEOPLE
		{
			get {return _cREATEPEOPLE;}
			set {
					_cREATEPEOPLE = value;
				}
			
		}

		///<summary>
		///最后修改人编号
		///</summary>		
		public long? LASTMODIFYPEOPLEID
		{
			get {return _lASTMODIFYPEOPLEID;}
			set { _lASTMODIFYPEOPLEID = value; }
			
		}

		///<summary>
		///最后修改人
		///</summary>		
		public string LASTMODIFYPEOPLE
		{
			get {return _lASTMODIFYPEOPLE;}
			set {
					_lASTMODIFYPEOPLE = value;
				}
			
		}

		///<summary>
		///最后修改时间
		///</summary>		
		public DateTime? LASTMODIFYTIME
		{
			get {return _lASTMODIFYTIME;}
			set { _lASTMODIFYTIME = value; }
			
		}

		///<summary>
		///备注
		///</summary>		
		public string REMARK
		{
			get {return _rEMARK;}
			set {
					_rEMARK = value;
				}
			
		}

		///<summary>
		///事业部编号
		///</summary>		
		public long? BUSINESSDIVISIONID
		{
			get {return _bUSINESSDIVISIONID;}
			set { _bUSINESSDIVISIONID = value; }
			
		}

		///<summary>
		///事业部名称
		///</summary>		
		public string BUSINESSDIVISIONNAME
		{
			get {return _bUSINESSDIVISIONNAME;}
			set {
					_bUSINESSDIVISIONNAME = value;
				}
			
		}

		///<summary>
		///事业部代码
		///</summary>		
		public string BUSINESSDIVISIONCODE
		{
			get {return _bUSINESSDIVISIONCODE;}
			set {
					_bUSINESSDIVISIONCODE = value;
				}
			
		}
		
		
		#endregion
		
	}
}
